import Vue from 'vue'
import App from './App'
import Mint from 'mint-ui';
import VueResource from 'vue-resource'
import { Tabbar, TabItem } from 'mint-ui';
Vue.use(Mint);
Vue.use(VueResource);
Vue.component(Tabbar.name, Tabbar);
Vue.component(TabItem.name, TabItem);
Vue.http.options.emulateJSON = true;
Vue.http.options.headers = {
  'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
};
/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App }
})